package com.bw.auth.remote;

import com.bw.common.domain.User;
import com.bw.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("bw-systems")
public interface AuthRemoteService {

    @GetMapping("system/selectUserInfo/{username}")
    public Result<User> selectUserInfo(@PathVariable String username);

}
